package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-04-17
 */
public interface PermissionService extends IService<Permission> {
    Page<Permission> getPermissionPage(int current, int size, String permissionName);
    Permission getPermissionByPermissionName(String permissionName);
    Page<Permission> queryPermission(Permission queryPermission,int current,int size);

    List<Permission> getPermissionTree();
}
